function nuevoAjax(){ 
	var xmlhttp=false; 
	try{ 
		xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); 
	}
	catch(e){ 
		try{ 
			xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 
		} 
		catch(E) { xmlhttp=false; }
	}
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') { 
		xmlhttp=new XMLHttpRequest(); 
	} 

	return xmlhttp; 
} 

function buscaEscolar(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaEscolar");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","escolar.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaTrabajo(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaTrabajos");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","trabajo.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaDocumentacion(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaDocumentos");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","documentacion.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaIdioma(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaIdiomas");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","idioma.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaHabilidad(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaHabilidades");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","habilidad.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaCurso(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaCursos");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","curso.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaAficion(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaAficiones");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","aficion.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaPublicacion(){
	var ajax=nuevoAjax();
	ajax.onreadystatechange=function(){
		if(ajax.readyState==4){
			var divContenedor=document.getElementById("listaPublicaciones");
			divContenedor.innerHTML=ajax.responseText;
		}
	}
	ajax.open("POST","publicacion.do",true);
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send("accion=getInfo");
}

function buscaLocalizacion(){
	var direccion=nuevoAjax();
	direccion.onreadystatechange=function(){
		if(direccion.readyState==4){
			var divContenedor=document.getElementById("listaDireccion");
			divContenedor.innerHTML=direccion.responseText;
		}
	}
	direccion.open("POST","direccion.do",true);
	direccion.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	direccion.send("accion=getInfo");
	
	var telefono=nuevoAjax();
	telefono.onreadystatechange=function(){
		if(telefono.readyState==4){
			var divContenedor=document.getElementById("listaTelefono");
			divContenedor.innerHTML=telefono.responseText;
		}
	}
	telefono.open("POST","telefono.do",true);
	telefono.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	telefono.send("accion=getInfo");
	
	var email=nuevoAjax();
	email.onreadystatechange=function(){
		if(email.readyState==4){
			var divContenedor=document.getElementById("listaEmail");
			divContenedor.innerHTML=email.responseText;
		}
	}
	email.open("POST","email.do",true);
	email.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	email.send("accion=getInfo");
}